package cn.com.roy.thread.t3_1_3.test2;

public class RunClass {
    public static void main(String[] args) {
        Object lock = new Object();

        MyThread1 a = new MyThread1(lock);
        a.start();

        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        MyThread2 b = new MyThread2(lock);
        b.start();
    }
}
